#include <iostream>
using namespace std;

signed main()
{
    string n;
    cin>>n;
    if(n.size()%2!=0||n.size()==0)    cout<<"Error: "<<n.size()<<" digit(s)\n";
    else{
        string s1 = n.substr(0,n.size()/2);
        string s2 = n.substr(n.size()/2,n.size()/2);
        int a = (s2[n.size()/2-2]-'0')*10+s2[n.size()/2-1]-'0';
        int b = (s1[n.size()/2-2]-'0')*10+s1[n.size()/2-1]-'0';
        if(a-b==2)    cout<<"Yes: "<<s2<<" - "<<s1<<" = 2\n";
        else    cout<<"No: "<<s2<<" - "<<s1<<" != 2\n";
    }
    return 0;
}
